#ifndef Indice_mem_H
#define Indice_mem_H


#include <stddef.h>
#include "hash.h"
#include "vector_dinamico.h"
#include "Indice.h"
#include "ManejadorBits.h"

/* *****************************************************************
 *                DEFINICION DE LOS TIPOS DE DATOS
 * *****************************************************************/

typedef struct _Indice_mem Indice_mem_t;

/* *****************************************************************
 *                    PRIMITIVAS DEL Indice_mem
 * *****************************************************************/

/* Destruye el Indice_mem */
void Indice_mem_destruir (Indice_mem_t* indice_mem);

Indice_mem_t* Indice_mem_crear (char* nombreRecibido, Indice_t* indice, char* docs);

char* Indice_mem_obtener_nombre (Indice_mem_t* indice_mem);

hash_t* Indice_mem_obtener_datos (Indice_mem_t* indice_mem, char* termino, int normalizador);

char* Indice_mem_obtener_documento (Indice_mem_t* indice_mem, int offset);

#endif //  Indice_mem_H 
